#include <bits/stdc++.h>

using namespace std;

int main(){
    int n,l;
    while (cin>>n){
        int cont=0;
        while (n!=0){
            n=n/2;
            cont++;
        }
        cout<<cont<<endl;
    }

    return 0;
}



